Simple_History\Loggers\Post_Logger D

Total Complexity 193
Dependencies 3
Dependents 1
Total lines 1,625
Lines of code 930
Logical lines of code 423
Comment lines 487
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
add_post_data_diff_to_context()
D
26
39 144
get_log_row_details_output()
D
23
32 216
maybe_log_post_change()
C
34 27 81
get_log_row_details_output_for_post_thumb()
A
40 11 72
get_log_row_plain_text_output()
A
48 11 31
on_delete_post()
A
50 9 29
get_log_row_details_output_for_post_terms()
A
45 7 46
add_post_thumb_diff()
A
54 8 23
on_xmlrpc_call()
S
49 5 31
on_transition_post_status()
S
52 4 23
filter_rss_item_link()
S
59 3 15
on_admin_action_editpost_save_prev_post()
S
63 4 10
get_theme_templates()
S
60 3 12
on_rest_after_insert()
S
56 2 18
on_admin_action_edit_save_prev_post()
S
63 3 10
on_untrash_post()
S
60 2 14
on_transition_post_status_future()
S
60 2 14
get_info()
S
51 1 27
save_prev_post_data()
S
62 2 11
add_diff()
S
66 2 9
on_rest_pre_insert()
S
70 2 7
add_rest_hooks()
S
66 2 7
ok_to_log_post_posttype()
S
67 2 8
loaded()
S
60 1 12
get_skip_posttypes()
S
63 1 12
on_xmlrpc_newPost()
S
65 1 9
compare_terms()
S
79 1 3
on_xmlrpc_editPost()
S
65 1 9
on_xmlrpc_deletePost()
S
65 1 9
label_for()
S
78 1 3
extra_diff_record()
S
78 1 3
add_xml_rpc_hooks()
S
64 1 9
add_keys_to_diff()
S
79 1 3